-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sc/converters coupling #1558
Sc/converters coupling #1558
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #1558 +/- ##
===========================================
- Coverage 92.75% 79.54% -13.21%
===========================================
Files 451 452 +1
Lines 35990 36004 +14
===========================================
- Hits 33380 28636 -4744
- Misses 2610 7368 +4758
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this get some docs?
Added interface coupling docs to the main menu.
Moved converter coupling section.
Added some documentation on coupling converters.
…rixi.jl into sc/converters_coupling
to avoid type instability.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed requested changes
to coupling functions, as suggested by Andrew and Daniel.
@ranocha @efaulhaber Would you like to review this again or are you ok with the responses to your previous reviews? |
I guess I'm okay. |
I don't know whether I chekced everything since that has been quite some time ago. We can merge this if you think it's fine, @sloede - there is no need for me to review it from my point of view if you're satisfied |
Interface coupling through converter functions. This feature extends the already existing coupling functionality by allowing the user to write converter functions. Those convert values from one system to the other and vice versa. Those converted values are then used as Dirichlet boundary condition of the system. This makes it possible to couple systems that do not share variables, but offer the option of converting variables, like Vlasov and MHD.
Nota Bene:
Currently the coordinate values on the nodes can differ by machine precision when simulating the mesh and when splitting the mesh in multiple domains. This is an issue coming from the coordinate interpolation on the nodes. As a result, running a simulation in a single system and in two coupled domains may result in a difference of the order of the machine precision. While this is not an issue for most practical problems, it is best to keep this in mind when comparing test runs.